package e

const (
	COUPON_STATUS_NOT_EXIST = 0

	COUPON_STATUS_NOT_START   = 1
	COUPON_STATUS_IN_PROGRESS = 2
	COUPON_STATUS_PAUSE       = 3
	COUPON_STATUS_END         = 4
)

var MsgCouponStatus = map[int64]string{
	COUPON_STATUS_NOT_EXIST: "活动不存在",

	COUPON_STATUS_NOT_START:   "活动未开始",
	COUPON_STATUS_IN_PROGRESS: "活动进行中",
	COUPON_STATUS_PAUSE:       "活动暂停",
	COUPON_STATUS_END:         "活动已结束",
}

// GetMsg get error information based on Code
func GetMsgCouponStatus(code int64) string {
	msg := MsgCouponTypes[code]
	return msg
}
